package com.tcm.prescribe.mapper;


import com.tcm.prescribe.api.domain.entity.PrescribeDrugs;

import java.util.List;

public interface PrescribeDrugsMapper {
    int deleteById(Long id);

    int deleteLogicById(Long id);

    int deleteByPrescribeId(Long prescribeId);

    int deleteLogicByPrescribeId(Long prescribeId);

    int insert(PrescribeDrugs record);

    PrescribeDrugs findById(Long id);

    List<PrescribeDrugs> listByPrescribeId(Long prescribeId);

    int update(PrescribeDrugs record);

    int insertBatch(List<PrescribeDrugs> prescribeDrugsList);

}